check if browser is W3C instead of Android#3414
Conversation
|
Hi @mikk150 so this check would be sufficient for both android and iOS right? Just out of curiosity. |
if webdriverio reports iOS as W3C browser(Which it should, because it is really Appium), then I do not see why not |
|
Thanks! |
|
I did check this change with codeceptjs v3.6.7 and seems it's not working. I have native android app and when I open the app and check "this.browser.isW3C" it's false and "this.browser.isMobile" is true. base on new condition it will do touchClick which gave me error: I reverted your code changes locally and I see it perform element click action which pass my test. My question is about how "this.browser.isW3C" should drive a decision for touchClick or elementClick. seems like unrelated and make error. |
Motivation/Description of the PR
My first implementation to this was stupid, this is way better one
Applicable helpers:
Applicable plugins:
Type of change
Checklist:
npm run docs)npm run lint)npm test)